export default function reducer(state = {}, action) {
  if (action.type === '#auth') {
    return { authenticated: true }
  }
  if (action.type === '#unauth') {
    return { authenticated: false }
  }
  return state
}
